Deploying with JRuby: Deliver Scalable Web Apps using the JVM (Paperback)

Deploying with JRuby: Deliver Scalable Web Apps using the JVM (Paperback)

作者: Joe Kutner
出版社: Pragmatic Bookshelf
出版在: 2012-07-20
ISBN-13: 9781934356975
ISBN-10: 1934356972
裝訂格式: Paperback
總頁數: 224 頁





內容描述


JRuby deployments have fewer moving parts and consume less memory than traditional Ruby deployments, but to deploy your apps on the JVM, you need to learn some new approaches. This book introduces you to three JRuby deployment strategies that will give you the performance and scalability you need while letting you use the language you love. You'll start by porting an existing application to JRuby, preparing the app to take advantage of the JVM platform. Then you'll use Vagrant and Puppet to build a virtual production environment so you have a stable, reproducible place to explore JRuby deployment. With your environment in place, you'll experiment with simple JRuby deployment with Warbler as you package your Ruby web application into a single file you can deploy to a Java application server. Next you'll set up the lightweight Trinidad web server to create a more flexible, modular deployment that fits more complex situations but still feels friendly and familiar to Ruby developers. You'll switch to powering your app with TorqueBox, an all-in-one JRuby environment that includes built-in support for messaging, scheduling, and daemons--perfect for handling the "big jobs." Then, you'll set up a continuous integration environment with Jenkins so you can deploy like the pros.Deploying with JRuby is the missing link between enjoying JRuby and using it in the real world to build high-performance, scalable applications.What You Need: To run the examples in this book, you'll need a computer that can run the Java Virtual Machine.




相關書籍

Principles of Big Data: Preparing, Sharing, and Analyzing Complex Information (Paperback)

作者 Jules J Berman

2012-07-20

FusionCharts 官方標準教程-通過 JavaScript (HTML5) 和 Flash 為您的 Web 應用和企業應用創建可交互圖表

作者 Sanket Nadhani Shamasis Bhattacharya Pallav Nadhani

2012-07-20

Joomla! For Dummies, 2/e (Paperback)

作者 Seamus Bellamy Steve Holzner

2012-07-20